'use strict';

class Detail {
    constructor(alarm, $modalInstance) {
        'ngInject';
        this._modalInstance = $modalInstance;
        this.detail = alarm;
    }

    cancel() {
        this._modalInstance.dismiss('cancel');
    }
}


export default Detail